//1、导入配置仓库对象的函数
import { configureStore } from '@reduxjs/toolkit'
//2、导入todos
import todos from './modules/todos'
//3、创建一个仓库对象
let store = configureStore({
    reducer: todos.reducer //(reducer里面包含了两个内容：state状态数据、actions动作对象)
})
//4、暴露出来(默认暴露)
export default store;